

package com.yz.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;

/**
 * 修改姓名表单
 */
@ApiModel(value = "修改姓名表单")
public class ChangeNameForm {
    @ApiModelProperty(value = "姓名")
    @NotBlank(message="姓名不能为空")
    private String newName;

    public String getNewName() {
        return newName;
    }

    public void setNewName(String newName) {
        this.newName = newName;
    }
}
